package com.vshop.framework.web.autoconfig.i18n;

import com.vshop.framework.core.util.StringConst;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;


@Data
@ConfigurationProperties("web.i18n")
public class I18nProperties {

    private static final List<String> ALL = Collections.singletonList(StringConst.ASTERISK);

    /**
     * 是否启用国际化配置
     */
    private boolean enabled;


    /**
     * 排除路径
     */
    private List<String> messageSources = new ArrayList<>();
}
